﻿#include "AsThreadManager.h"

AsThreadManager::AsThreadManager(QObject *parent)
	: QObject(parent)
{


}

AsThreadManager::~AsThreadManager()
{
	for (AsThread *asthread : m_threadVec)
	{
		asthread->deleteLater();
	}

}

AsThread* AsThreadManager::creatAsThread()
{
	AsThread * asThread = new AsThread();
	m_threadVec.append(asThread);
	return asThread;
}
